

import api from '../../assets/api/index'   //ajax
import {lc} from './../types/index'
import {sessionStorage} from './../../storage/storage';

const state = {
  isShow:''
};

const actions = {
  isShow({commit},status){
    commit(lc.ORDERDETAIL_ISSHOW,status);
  }
};

const mutations ={
  [lc.ORDERDETAIL_ISSHOW](state,status){
    state.isShow = status.data;
  }
};


const getters = {
  isShow (state){
    return state.isShow.isClose
  },
  imgUrl(state){
    return state.isShow.imgUrl
  }
};



export default {
  state,
  actions,
  mutations,
  getters
}
